package com.huatai.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huatai.manage.entity.TbTrialSubjectEntity;
import com.huatai.manage.vo.TbTrialSubjectVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 试验对象;(TbTrialSubjectsManage)表数据库访问层
 *
 * @author luoxc
 * @since 2023-03-14 14:13:39
 */
public interface TbTrialSubjectMapper extends BaseMapper<TbTrialSubjectEntity> {

	List<TbTrialSubjectVo> pageList(Page<TbTrialSubjectEntity> page, @Param("subject") TbTrialSubjectEntity tbTrialSubjectEntity);

	List<TbTrialSubjectVo> subjectList();

	TbTrialSubjectVo getBySubjectId(@Param("subjectId") String subjectId);

	List<TbTrialSubjectVo> pageByTrialId(Page<TbTrialSubjectEntity> page, @Param("trialId") String trialId);

	List<TbTrialSubjectVo> listByTrialId(@Param("trialId") String trialId);

	List<TbTrialSubjectVo> getByTrialId(@Param("trialId") String trialId);

}
